<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加角色信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
<script type="text/javascript">
		function closewindow(){
	if(window.opener){
		window.opener.location.reload(true);
		window.close();
	}
}
</script>
  </head>
  <body>
    <center>
<form action="RoleServlet" method="post">
<input type="hidden" name="oder" value="addRole">
<!--  <input type="hidden" name="oder" value="exit">  -->
<TABLE class="tableEdit" border="0" cellspacing="1" cellpadding="0" style="width:580px;">
	<TBODY>
		<TR>
			<!-- 这里是添加、编辑界面的标题 -->
			<td align="center" class="tdEditTitle">添加角色信息</TD>
		</TR>
		<TR>
			<td>
			<!-- 主输入域开始 -->
<!-- <input type="hidden" name="method" value="add"> -->
<table class="tableEdit" align="center" style="width: 300px;" cellspacing="0" border="0" cellpadding="0">
	<tr>
		<td>用户名</td>			
		<td>
	<%-- 	<input type="text" name="rolename" value="<%=role.getName()%>"/> --%>
		<input type="text" name="name"> 
		</td>
	</tr>
</table>
			<!-- 主输入域结束 -->
			</td>
		</TR>
	</TBODY>
</TABLE>
<TABLE>
		<TR align="center">
			<TD colspan="3" bgcolor="#EFF3F7">
			<input type="submit" name="saveButton" 
				class="MyButton" value="保存角色信息"> 
			<input type="button" value="返回" name="goback" id="goback" onclick="closewindow();">
			</TD>
		</TR>
</TABLE>
</form>
</center>
  </body>
</html>
